var verif = $("#connect").text();
if(verif === false) {
    $("a").attr(disabled, disabled);
}


